home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000171_dbecker@cpicorp.com_Tue Dec 10 09:12:15 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  119 lines

  1. Article: 13951 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!news.cc.ukans.edu!stl-feed.news.verio.net!news.cpicorp.com!not-for-mail
  3. From: Derek Chen-Becker <dbecker@cpicorp.com>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Interesting behavior of IKSD "set receive move-to" and "set send
  6.  move-to"
  7. Date: Mon, 09 Dec 2002 18:49:06 -0600
  8. Organization: CPI Corporation
  9. Lines: 95
  10. Message-ID: <at3dls$4p$1@cpimail.cpicorp.com>
  11. NNTP-Posting-Host: dbecker-ld.cpicorp.com
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=us-ascii; format=flowed
  14. Content-Transfer-Encoding: 7bit
  15. X-Trace: cpimail.cpicorp.com 1039481340 153 131.100.250.5 (10 Dec 2002 00:49:00 GMT)
  16. X-Complaints-To: abuse@cpicorp.com
  17. NNTP-Posting-Date: Tue, 10 Dec 2002 00:49:00 +0000 (UTC)
  18. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
  19. X-Accept-Language: en-us, en
  20. X-Enigmail-Version: 0.70.0.0
  21. X-Enigmail-Supports: pgp-inline, pgp-mime
  22. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13951
  23.  
  24. Hi,
  25.      I'm working on a transfer script in which I'd like to use the 
  26. move-to features of send and receive on the IKSD side of the connection 
  27. and I've noticed some very interesting behavior. I have the following 
  28. directory structure on my IKSD server account home directory:
  29.  
  30. ~/
  31. ~/.kermrc
  32. ~/complete-tx
  33. ~/complete-rx
  34. ~/ct
  35. ~/ct/incoming
  36. ~/ct/outgoing
  37. ~/ct/complete-tx
  38. ~/ct/complete-rx
  39.  
  40. And my .kermrc contents are:
  41.  
  42. set file type binary
  43. set file incomplete keep
  44. set file names literal
  45. set transfer crc on
  46. set transfer slow-start off
  47. set receive move-to complete-rx
  48. set send move-to complete-tx
  49. set file collision update
  50. set reliable on
  51.  
  52. On the client side I do the following:
  53.  
  54. 1. Log into the server with IKSD
  55. 2. rcd to the "ct" directory
  56. 3. send a file: "resend test.file incoming/test.file"
  57. 4. receive files: "reget outgoing/*"
  58. 5. close the connection
  59.  
  60. Files that I send succesfully are moved from the ~/ct/incoming directory 
  61. to the ~/ct/complete-rx directory, and files I receive succesfully are 
  62. moved from ~/ct/outgoing to ~/ct/complete-tx. This is the behavior I 
  63. expected. The two "complete" directories at the root of the home 
  64. directory were remnants of an earlier attempt at the script, so I 
  65. removed them. As soon as I removed those two directories, files I send 
  66. stay in ~/ct/incoming and files I receive stay in ~/ct/outgoing. This is 
  67. not the behavior I expected. Have I found a bug, or is something else 
  68. going on here?
  69.  
  70. This is what the logs for files I receive look like with the 2 
  71. directories in place:
  72.  
  73. Dec  9 18:37:36 zeus iksd[29813]: file[] /home/ktest/ct/outgoing/test1: 
  74. rename to /home/ktest/ct/complete-tx/test1 failed (No such file or 
  75. directory)
  76. Dec  9 18:37:36 zeus iksd[29813]: file[2] /home/ktest/ct/outgoing/test2: 
  77. open read ok
  78. Dec  9 18:37:36 zeus iksd[29813]: file[] /home/ktest/ct/outgoing/test2: 
  79. rename to /home/ktest/ct/complete-tx/test2 failed (No such file or 
  80. directory)
  81. Dec  9 18:37:36 zeus iksd[29813]: file[2] /home/ktest/ct/outgoing/test3: 
  82. open read ok
  83. Dec  9 18:37:36 zeus iksd[29813]: file[] /home/ktest/ct/outgoing/test3: 
  84. rename to /home/ktest/ct/complete-tx/test3 failed (No such file or 
  85. directory)
  86.  
  87. This is what the logs for files I receive look like with the 2 
  88. directories removed:
  89.  
  90. Dec  9 18:27:19 zeus iksd[28967]: file[2] /home/ktest/ct/outgoing/test1: 
  91. open read ok
  92. Dec  9 18:27:19 zeus iksd[28967]: file[2] /home/ktest/ct/outgoing/test2: 
  93. open read ok
  94. Dec  9 18:27:19 zeus iksd[28967]: file[2] /home/ktest/ct/outgoing/test3: 
  95. open read ok
  96.  
  97. I'm running K95 2.1.1 on the client and C-kermit 8.0.206 on the server.
  98.  
  99.  
  100. Thanks,
  101.  
  102. Derek
  103.  
  104.  
  105.  
  106. -- 
  107. ----------------------------------------------------------------------
  108. Derek Chen-Becker
  109. Senior Network Engineer
  110. CPI Corp, Inc.
  111. 1706 Washington Ave
  112. St. Louis, MO 63103
  113. 314-231-1575 x6014
  114. dbecker@cpicorp.com
  115. PGP Key available from public key servers
  116. Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
  117. ----------------------------------------------------------------------
  118.  
  119.